package com.smartmedical.patient.share.mapper;

import com.smartmedical.patient.share.domain.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface KnowledgeBaseMapper {
    List<Department> findDepartment();

    List<DiseaseCategory> DiseaseSearch(@Param("departmentId") int departmentId);

    DiseaseKnowledge findDiseaseKnowledge(@Param("id") int id);

    List<DrugsCategory> findDrugsCategoryList();

    List<DrugsKnowledge> findDrugsKnowledgeList(@Param("drugsCategoryId") int drugsCategoryId);

    DrugsKnowledge findDrugsKnowledge(@Param("id") int id); //根据id查询药品详情
}
